package com.engine4cloud.tdf.common.core.constant.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.io.Serializable;

/**
 * yes and no enum
 *
 * @author tdf
 * @date 2023/10/25
 */
@Getter
@AllArgsConstructor
public enum YesNoEnum implements Serializable {

    YES("1", "是"), NO("0", "否");

    /**
     * 编码
     */
    private String code;

    /**
     * 描述
     */
    private String desc;

}
